﻿<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<meta name="apple-mobile-web-app-title" content="思路广惠">
		<title>申请会员升级</title>

		<meta content="telephone=no" name="format-detection" />

		<link rel="stylesheet" type="text/css" href="../../src/css/base.css?1.0" />
	</head>

	<body class="body-bg">
		<header class="header">
			<a href="javascript: history.go(-1)" class="head-le"><i class="iconfont icon-fanhui i2m"></i></a>
			<h1 class="header-txt">会员升级</h1>
		</header>
		<section class="s13m">
			<h1 class="s13m pad1rem">申请级别</h1>
			<div class="setup-u pad1rem"> <span class="upclass"></span> </div>
			<ul class="setup-u pad-lr top1rem">
				<li class="pad-ud setup-btm flexs-bw"> 会员分红 <span class="upclass  huef36"> </span> </li>
				<li class="pad-ud setup-btm flexs-bw">商家分红 <span class="upclass  huef36"> </span> </li>
				<li class="pad-ud flexs-bw">代理分红 <span class="upclass  huef36"> </span> </li>
			</ul>
			<div class="setup-u pad1rem top1rem flexs-bw">代理费 <span class="upclass  huef36"> 0 </span> </div>
			<h1 class="s13m pad1rem">账单</h1>
			<ul class="setup-u pad-lr">
				<li class="pad-ud setup-btm flexs-bw"> 升级方式 <span > 全款升级</span> </li>
				<li class="pad-ud setup-btm flexs-bw">所需现金积分 <span class="upclass huef36"> </span> </li>
				<li class="pad-ud flexs-bw">可用余额 <span class="upclass huef36"> 0</span> </li>
			</ul> 
			<div class="own-save">
				<button class="own-save-btn" id="banksave" type="button">
                	确认支付
            </button>
			</div>

		</section>
		<script src="http://apps.bdimg.com/libs/laytpl.js/1.1/laytpl.js"></script>
		<script src="//cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
		<script src="//cdn.bootcss.com/layer/3.0.1/mobile/layer.js"></script>
		<script src="../../src/js/all.js" type="text/javascript" charset="utf-8"></script>
		<script>
			$(function() {

				// 获取会员等级信息
				$.get(urls + "/BaseLevel/GetLevelByID", {
					LevelID: silks.getByVal("levelID"),
					AppID: AppID,
					Token: Token
				}, function(res) {
					if(res.Return_ID == 0) {
						console.log(res)
						var res = res.Return_Data
						silks.setAssign([
							res.Level_Name,
							res.Level_MembersBonus,
							res.Level_BusinessBonus,
							res.Level_AgentBonus,
							res.Level_Amount,
							res.Level_Amount
						], ".upclass")
					}
				});

			});
		</script>
	</body>

</html>